package sk.vrto.service.email;

import sk.vrto.domain.Email;
import sk.vrto.domain.EmailAccount;

/**
 * Service responsible for handling emailing.
 */
public interface EmailService {

    /**
     * Sends new email from a given account
     * @param from Sender account
     * @param email New email, includes receiver's address
     */
    void send(EmailAccount from, Email email);

}
